package main;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


public class Point {
    
    private int _x;
    private int _y;
    public Point()
    {
        _x = 0;
        _y = 0;
    }
    public Point(int x,int y)
    {
        _x = x;
        _y = y;
    }
    public int getX()
    {
        return _x;
    }
    public int getY()
    {
        return _y;
    }
    public void setX(int x)
    {
        _x = x;
    }
    public void setY(int y)
    {
        _y = y;
    }
    public void move(int dx,int dy)
    {
        _x += dx;
        _y += dy;
    }
}
